:root {
--ink: #0a1644;
  
  --deep-blue: #0a1644;
  
  --blue: #293b86;
  
  --sage: #dbe2ec;
  
  --pale-sage: #f0f3f7;
  
  --cream: #f8f9fb;
  
  --sand: #e9edf3;
  
  --white: #ffffff;
  --line: #d7dde7;
  
  --display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --footer-blue: #0a1644;
  --footer-muted: #b9c4d9;
  --footer-line: rgba(255, 255, 255, 0.18);
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

img {
max-width: 100%;
}

.container {
width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.skip-link {
position: absolute;
  left: -999px;
}

.skip-link:focus {
left: 15px;
  top: 15px;
  z-index: 100;
  padding: 10px 15px;
  background: white;
  color: black;
}

.site-header {
position: fixed !important;
  background: #fff !important;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100% - 1180px) / 2));
  color: #0a1644;
}

.brand,
.footer-brand {
display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
}

.brand img {
width: 56px;
  height: 56px;
  object-fit: contain;
  
  padding: 4px;
}

.brand span {
font-size: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.site-nav {
display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
color: #707784;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
opacity: 0.7;
}

.nav-button {
border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 10px 15px;
}



.eyebrow {
margin: 0 0 17px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow.light {
color: #d9ebdc;
}

h2,
h3 {
font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.section {
padding: 125px 0;
}

.projects {
background: var(--ink);
  color: white;
}

.projects-heading {
display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.projects h2 {
margin: 0;
  font-size: clamp(38px, 4.6vw, 62px);
}

.project-filters {
display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-button {
border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: white;
  padding: 9px 14px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
border-color: #d9e8d9;
  background: #d9e8d9;
  color: var(--ink);
}

.project-process {
content-visibility: auto;
  contain-intrinsic-block-size: auto 560px;
  overflow: hidden;
  background: rgb(48, 89, 127, 0.70);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.project-process:hover {
transform: translateY(-5px);
}

.project-process.hidden {
display: none;
}

.project-process-top {
display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 22px 17px;
}

.project-category {
margin: 0 0 7px;
  color: #bbd4bd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.project-process h3 {
margin: 0;
  font-size: 25px;
}

.project-count {
color: #dbe8dc;
  font-size: 11px;
}

.project-stage {
position: relative;
  height: 360px;
  overflow: hidden;
  background: #0c1914;
}

.project-stage.open-lightbox {
cursor: pointer;
}

.stage-image {
position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.45s ease,
    transform 0.65s ease;
}

.stage-image.active {
opacity: 1;
  transform: scale(1);
}

.stage-overlay {
position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 48%);
  pointer-events: none;
}

.stage-label {
position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: white;
  font-size: 12px;
}

.stage-label b {
color: #d5ead8;
}

.project-controls {
display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
}

.project-arrow {
width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

.project-arrow:hover:not(:disabled) {
background: white;
  color: var(--ink);
}

.project-arrow:disabled {
cursor: default;
  opacity: 0.35;
}

.project-progress {
display: flex;
  gap: 7px;
}

.progress-dot {
width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: 0.2s ease;
}

.progress-dot.active {
width: 25px;
  border-radius: 8px;
  background: #d9e8d9;
}

.site-footer {
padding: 58px 0 22px;
  background: #0a1644;
  color: #ffffff;
}

.footer-top {
display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
display: inline-block;
}

.footer-brand img {
display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.footer-company p,
.footer-social span,
.footer-details p,
.footer-licence p {
margin: 14px 0 0;
  color: #d8e0ee;
  font-size: 14px;
  line-height: 1.7;
}

.footer-company p,
.footer-social span {
font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social-icons {
display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer-social-icons a {
display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social-icons a:hover {
background: #ffffff;
  border-color: #ffffff;
  color: #0a1644;
}

.footer-social-icons svg {
width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
margin: 0;
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 800px) {
.footer-top {
grid-template-columns: 1fr 1fr;
    gap: 32px;
}
}

@media (max-width: 520px) {
.footer-top {
grid-template-columns: 1fr;
    gap: 25px;
}
}

.reveal {
opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
.site-header {
padding: 17px 24px;
}
.brand img {
width: 46px;
    height: 46px;
}
.menu-toggle {
display: block;
}
.site-nav {
position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: var(--ink);
}
.site-nav.open {
display: flex;
}

.section {
padding: 82px 0;
}

.projects-heading {
display: block;
}

.project-stage {
height: 330px;
}

.site-footer {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 480px) {
.container {
width: min(100% - 32px, 1180px);
}

.site-footer {
grid-template-columns: 1fr;
}
}

.site-header {
position: relative;
  min-height: 88px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: #77776f;
  color: #fff;
}

.brand {
gap: 15px;
}

.brand img {
width: 58px;
  height: 58px;
  padding: 0;
  background: transparent;
}

.brand-copy {
display: grid;
  gap: 3px;
}

.brand-copy strong {
font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #293b86;
}

.brand-copy small {
font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.site-nav {
gap: 30px;
}

.site-nav a {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
}

.nav-button {
border-color: rgba(255, 255, 255, 0.8);
  padding: 11px 16px;
}

.back-to-top {
position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
}

.back-to-top.visible {
opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
background: #173b30;
}

@media (max-width: 820px) {
.site-header {
position: sticky;
    top: 0;
    z-index: 100;
    min-height: 88px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #2f4057;
    color: #fff;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
}

}

@media (max-width: 500px) {
.brand img {
width: 44px;
    height: 44px;
}
.brand-copy strong {
font-size: 12px;
}
.brand-copy small {
max-width: 180px;
    font-size: 7px;
}
}

@media (max-width: 900px) {
.menu-toggle {
display: block !important;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.menu-toggle span {
display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: #293b86;
}
.site-nav {
display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 16px 28px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.site-nav.open {
display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.site-nav a {
padding: 18px 0;
    border-bottom: 1px solid #e6e6e6;
    color: #777 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}
.site-nav a:hover,
.site-nav a.active {
color: #293b86 !important;
}
.site-nav .nav-button {
border: 0;
}
}

.footer-social {
display: grid;
  gap: 12px;
}

.footer-social>span {
font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.footer-social-icons {
display: flex;
  gap: 10px;
}

.footer-social-icons a {
display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  color: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social-icons a:hover {
background: #293b86;
  border-color: #293b86;
  color: white;
}

.footer-social-icons svg {
width: 16px;
  height: 16px;
  fill: currentColor;
}

.projects {
position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(11, 20, 60, 0.18), rgba(11, 20, 60, 0.18)),
    url("../images/backgrounds/project-gallery-blueprint.webp") center / cover no-repeat;
}

.site-footer {
position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(11, 20, 60, 0.18), rgba(11, 20, 60, 0.18)),
    url("../images/backgrounds/project-gallery-blueprint.webp") center top / cover no-repeat;
  color: #ffffff;
}

.projects-heading h2 {
font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.eyebrow {
letter-spacing: 0.22em;
  text-transform: uppercase;
}

h3 {
font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
line-height: 1.6;
}

.nav-dropdown {
position: relative;
  
  padding: 22px 0;
  margin: -22px 0;
}

.nav-dropdown .dropdown-toggle::after {
content: "▾";
  margin-left: 6px;
  font-size: 12px;
}

.dropdown-menu {
position: absolute;
  top: 100%;
  left: -18px;
  z-index: 200;
  min-width: 280px;
  padding: 8px 0;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 14px 30px rgba(10, 22, 68, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .dropdown-menu a {
display: block;
  padding: 14px 22px;
  color: #4b5262;
  font-size: 14px;
  text-transform: none;
  white-space: nowrap;
  border-bottom: 1px solid #eef0f4;
}

.site-nav .dropdown-menu a:last-child {
border-bottom: 0;
}

.site-nav .dropdown-menu a:hover {
background: var(--pale-sage);
  color: var(--blue);
  opacity: 1;
}

@media (max-width: 900px) {
.nav-dropdown {
padding: 0;
    margin: 0;
}
.nav-dropdown .dropdown-toggle::after {
display: none;
}
.dropdown-menu {
position: static;
    min-width: 0;
    padding: 0 0 0 22px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.site-nav .dropdown-menu a {
padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #ededed;
}
}

body.lightbox-locked {
overflow: hidden;
}

.gallery-lightbox {
position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.gallery-lightbox.open {
display: flex;
}

.lightbox-overlay {
position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 34, 0.94), rgba(9, 16, 42, 0.97));
}

.lightbox-close,
.image-zoom-close {
position: absolute;
  top: 24px;
  right: 28px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 239, 230, 0.45);
  border-radius: 50%;
  background: rgba(8, 14, 38, 0.55);
  color: #f4efe6;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.image-zoom-close:hover {
background: #f4efe6;
  color: #0a1230;
}

.lightbox-content {
position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1000px, 100%);
  max-height: calc(100vh - 100px);
  color: #f4efe6;
  font-family: var(--display);
  text-align: center;
  overflow-y: auto;
}

.lightbox-compare {
display: flex;
  gap: 24px;
  width: 100%;
  max-width: 840px;
}

.compare-image {
position: relative;
  flex: 1;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(244, 239, 230, 0.22);
  background: #0c1420;
}

.zoom-trigger {
position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.zoom-trigger img {
display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.zoom-trigger:hover img {
transform: scale(1.035);
}

.zoom-icon {
position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(8, 14, 38, 0.72);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  opacity: 0.9;
}

.compare-image figcaption {
position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 16px;
  padding: 6px 13px;
  background: rgba(8, 14, 38, 0.75);
  color: #f4efe6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.lightbox-divider-label {
position: relative;
  margin: 24px 0 18px;
  color: rgba(244, 239, 230, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lightbox-divider-label::before,
.lightbox-divider-label::after {
content: "";
  position: absolute;
  top: 50%;
  width: 64px;
  height: 1px;
  background: rgba(244, 239, 230, 0.22);
}

.lightbox-divider-label::before {
right: 100%;
  margin-right: 18px;
}

.lightbox-divider-label::after {
left: 100%;
  margin-left: 18px;
}

.lightbox-process {
display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
}

.process-viewer {
display: flex;
  flex-direction: column;
  align-items: center;
  width: min(620px, calc(100% - 100px));
}

.process-zoom-trigger {
width: 100%;
  height: clamp(220px, 34vh, 340px);
  border: 1px solid rgba(244, 239, 230, 0.25);
  border-radius: 10px;
  background: #0c1420;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.process-zoom-trigger img {
object-fit: contain;
}

.process-thumbnails {
display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 3px 2px 8px;
  overflow-x: auto;
}

.lightbox-arrow {
flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.4);
  background: rgba(8, 14, 38, 0.5);
  color: #f4efe6;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.lightbox-arrow:hover:not(:disabled) {
background: #f4efe6;
  color: #0a1230;
}

.lightbox-arrow:disabled {
cursor: default;
  opacity: 0.25;
}

.lightbox-stage-label {
margin: 14px 0 0;
  color: rgba(244, 239, 230, 0.85);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.lightbox-stage-label b {
color: #f4efe6;
}

.image-zoom {
position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 70px 32px 32px;
  background: rgba(2, 5, 18, 0.96);
}

.image-zoom.open {
display: flex;
}

.image-zoom-photo {
display: block;
  max-width: min(94vw, 1500px);
  max-height: calc(100vh - 140px);
  object-fit: contain;
}

.image-zoom-caption {
margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  text-align: center;
}

.gallery-lightbox.single-image .compare-before,
.gallery-lightbox.single-image .lightbox-divider-label,
.gallery-lightbox.single-image .lightbox-process,
.gallery-lightbox.single-image .lightbox-stage-label {
display: none;
}

.gallery-lightbox.single-image .lightbox-compare {
max-width: 620px;
}

.gallery-lightbox.single-image .compare-after figcaption {
display: none;
}

@media (max-width: 800px) {
.gallery-lightbox {
padding: 56px 16px 24px;
}
.lightbox-content {
max-height: calc(100vh - 80px);
}
.lightbox-compare {
gap: 12px;
}
.process-viewer {
width: calc(100% - 74px);
}
.process-zoom-trigger {
height: clamp(200px, 32vh, 280px);
}

.lightbox-arrow {
width: 38px;
    height: 38px;
    font-size: 15px;
}
.lightbox-close,
.image-zoom-close {
top: 12px;
    right: 14px;
}
.image-zoom {
padding: 62px 14px 20px;
}
}

.image-zoom-arrow {
position: absolute;
  z-index: 2;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(8, 14, 38, 0.72);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.image-zoom-previous {
left: 24px;
}

.image-zoom-next {
right: 24px;
}

.image-zoom-arrow:disabled {
cursor: default;
  opacity: 0.28;
}

.gallery-lightbox.gallery-only .lightbox-compare {
display: none;
}
